#ifndef GAMEHALL_H
#define GAMEHALL_H

//头文件所在位置
#include <QWidget>
#include <QPainter>
#include <QPixmap>
#include <QIcon>
#include <QPushButton>
#include <QFont>
#include <QTextEdit>
#include <QFile>
#include <QTimer>
#include <QPointF>

#include <QSound>         //注意: qmake:QT += multimedia

QT_BEGIN_NAMESPACE
namespace Ui { class GameHall; }
QT_END_NAMESPACE


//游戏界面大小
//const int snakeWid = 1200;
//const int snakeHeg = 700;

//const int snakeWid = 1500;
//const int snakeHeg = 1000;

class GameHall : public QWidget
{
    Q_OBJECT

public:
    GameHall(QWidget *parent = nullptr);
    ~GameHall();

    //重写绘图事件
    void paintEvent(QPaintEvent *event);

private:
    Ui::GameHall *ui;
};
#endif // GAMEHALL_H
